package com.example.springbook.service;

import com.example.springbook.bean.User;

import java.util.List;

public interface UserService {
    boolean addUser(User user);

    boolean updateUser(User user);

    boolean deleteUser(int id);

    List<User> findAllUser();

    String selectUser(int id);

    String findUserName(int id);

}
